import { Express } from 'express'
import routerConf from '../routes/index'

function routes(app: Express) {
  routerConf?.forEach(conf => {
    app.use(conf.path, conf.router)
  })
}

export default routes
